package demoday4;

public abstract  class TreatMedicine {
	private String name;
	
	private int restoreHealth;
	
	public abstract int useTreatMedicine();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public TreatMedicine(String name, int restoreHealth) {
		super();
		this.name = name;
		this.restoreHealth = restoreHealth;
	}

	public int getRestoreHealth() {
		return restoreHealth;
	}

	public void setRestoreHealth(int restoreHealth) {
		this.restoreHealth = restoreHealth;
	}
	public TreatMedicine() {
		// TODO Auto-generated constructor stub
	}

	
	
}
